package com.ruoyi.goods.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 规格参数对象 tb_spec_option
 * 
 * @author ruoyi
 * @date 2024-10-16
 */
public class TbSpecOption extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 选项编号 */
    private Long optionId;

    /** 选项名称 */
    @Excel(name = "选项名称")
    private String optionName;

    /** 规格编号 */
    @Excel(name = "规格编号")
    private Long specId;

    /** 排序值 */
    @Excel(name = "排序值")
    private String orders;

    public void setOptionId(Long optionId) 
    {
        this.optionId = optionId;
    }

    public Long getOptionId() 
    {
        return optionId;
    }
    public void setOptionName(String optionName) 
    {
        this.optionName = optionName;
    }

    public String getOptionName() 
    {
        return optionName;
    }
    public void setSpecId(Long specId) 
    {
        this.specId = specId;
    }

    public Long getSpecId() 
    {
        return specId;
    }
    public void setOrders(String orders) 
    {
        this.orders = orders;
    }

    public String getOrders() 
    {
        return orders;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("optionId", getOptionId())
            .append("optionName", getOptionName())
            .append("specId", getSpecId())
            .append("orders", getOrders())
            .toString();
    }
}
